package com.decent.entity;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author decent
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Type  implements Serializable {

    private static final long serialVersionUID = -1369448390463179472L;

    @JsonProperty("id")
    private Integer typeId;

    private String typeName;

    private String iconUrl;

    private Integer status;

    private Integer sequence;



    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }


}